package cn.fws.meap.community.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.fws.framework.web.entity.BaseEntity;
import java.util.Date;

/**
 * 回复表 meap_reply
 * 
 * @author chenkh
 * @date 2019-03-07
 */
public class Reply extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private String id;
	/** 文章id */
	private String articleId;
	/** 上级回复id */
	private String superId;
	/** 回复内容 */
	private String replyMsg;
	/** 用户id */
	private String openid;
	/** 用户头像 */
	private String userMsg;
	/** 用户昵称 */
	private String nickName;
	/** 是否已经逻辑删除 */
	private String isDelete;



	public Reply(String id, String articleId, String superId, String replyMsg, String openid, String userMsg, String nickName, String isDelete) {
		this.id = id;
		this.articleId = articleId;
		this.superId = superId;
		this.replyMsg = replyMsg;
		this.openid = openid;
		this.userMsg = userMsg;
		this.nickName = nickName;
		this.isDelete = isDelete;
	}

	public Reply() {
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getArticleId() {
		return articleId;
	}

	public void setArticleId(String articleId) {
		this.articleId = articleId;
	}

	public String getSuperId() {
		return superId;
	}

	public void setSuperId(String superId) {
		this.superId = superId;
	}

	public String getReplyMsg() {
		return replyMsg;
	}

	public void setReplyMsg(String replyMsg) {
		this.replyMsg = replyMsg;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getUserMsg() {
		return userMsg;
	}

	public void setUserMsg(String userMsg) {
		this.userMsg = userMsg;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public String getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(String isDelete) {
		this.isDelete = isDelete;
	}

	@Override
	public String toString() {
		return "Reply{" +
				"id='" + id + '\'' +
				", articleId='" + articleId + '\'' +
				", superId='" + superId + '\'' +
				", replyMsg='" + replyMsg + '\'' +
				", openid='" + openid + '\'' +
				", userMsg='" + userMsg + '\'' +
				", nickName='" + nickName + '\'' +
				", isDelete='" + isDelete + '\'' +
				'}';
	}
}
